Port better to Autoconf 2.72
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Feb 2024 21:17:57 +0000 (13:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Feb 2024 21:19:53 +0000 (13:19 -0800)
* configure.ac: Set ac_cv_type_gid_t=yes to pacify Autoconf 2.72
AC_TYPE_GETGROUPS.  Problem reported by Nick Bowler in:
https://lists.gnu.org/r/autoconf-patches/2024-02/msg00001.html

configure.ac

index b74eba879ab4555be992128f47f3398a75a72226..847fdbd54d2778386b39ad2bbb69778e594b68d6 100644 (file)
@@ -2337,6 +2337,7 @@ fi
 AC_DEFUN([AC_TYPE_SIZE_T])
 # Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them.
 AC_DEFUN([AC_TYPE_UID_T])
+ac_cv_type_gid_t=yes # AC_TYPE_GETGROUPS needs this in Autoconf 2.72.
 
 # Check for all math.h functions that Emacs uses; on some platforms,
 # -lm is needed for some of these functions.